<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Inventory.aspx.cs" Inherits="ExcelSample.Inventory" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link rel="stylesheet" href="App_Themes/Inventory/inventory.css" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="Select a category:"></asp:Label><br />
        <asp:RadioButton ID="rbLaptops" runat="server" AutoPostBack="True" GroupName="Categories"
            OnCheckedChanged="rbLaptops_CheckedChanged" Text="Laptops" />
        <asp:RadioButton ID="rbDesktops" runat="server" AutoPostBack="True" GroupName="Categories"
            OnCheckedChanged="rbDesktops_CheckedChanged" Text="Desktops" /><br />
        <asp:Label ID="Label2" runat="server" Text="Display "></asp:Label>
        <asp:DropDownList ID="ddlResults" runat="server" AutoPostBack="True">
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
            <asp:ListItem>30</asp:ListItem>
            <asp:ListItem>All</asp:ListItem>
        </asp:DropDownList>
        <asp:Label ID="Label3" runat="server" Text="per page"></asp:Label><br />
        <asp:Label ID="lblDebug" runat="server"></asp:Label>
        <br />
        <asp:Label ID="lblDebug2" runat="server"></asp:Label><br />
        <br />
        <asp:GridView ID="gvResults" runat="server" BackColor="White" BorderColor="#DEDFDE"
            BorderStyle="None" BorderWidth="1px" CellPadding="2" ForeColor="Black" AllowPaging="True" CssClass="gridview" EnableViewState="False" PageSize="15" AllowSorting="True" EnableSortingAndPagingCallbacks="True" OnPageIndexChanging="gvResults_PageIndexChanging" OnSelectedIndexChanged="gvResults_SelectedIndexChanged">
            <FooterStyle BackColor="#CCCC99" />
            <RowStyle BackColor="#F7F7DE" />
            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
            <PagerSettings Position="TopAndBottom" />
        </asp:GridView>
    
    </div>
    </form>
</body>
</html>
